package com.jinzhi.jinzhidata.dataobject;

import lombok.Data;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Id;

/**
 * @author vansl
 * @description 存放带参数二维码的sceneId和扫码之后的用户jwt token
 * @date 2020-01-10 15:46
 **/
@Data
@EntityListeners(AuditingEntityListener.class)
@Entity
public class Scene {

    @Id
    private String sceneId;

    private String token;
}
